/*ENCABEZADO*/

#encabezado {
  background-color: #dba8a8;
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;     /* Centra verticalmente si hay altura */
          
  /* padding: 20px; Espacio alrededor de la imagen */
}

#imagenencabezado{
  height: 350px;  /* 400px de height y 30%*/
  width: 26%;
}


/*NAVEGADOR*/

#navegadorprincipal {
  background-color: #502c47;  /*color del navegador, lo que sigue no se*/
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  gap: 150px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

#navegadorprincipal img {
  height: 60px;
  margin-right: 15px;
}

#navegadorprincipal .logo-contenedor {
  display: flex;
  align-items: center;
}



#navegadorprincipal ul {
  list-style: none;
  display: flex;
  gap: 80px;  /*160px puede andar con el div incluyendo logo y lista*/
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: lucida handwriting;
}

#navegadorprincipal ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  /*padding-right: 120px;*/
}



#navegadorprincipal ul li a:hover {
  color: #07c0a1;
  
}



.titulos-de-pagina{
  text-align: center;
  font-family: 'Brush Script MT', cursive;
  font-size: 50px;
  letter-spacing: 5px;
}

/*BODY*/
body {
  
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  
}


/*MAIN*/
main {
  padding: 50px;
  padding-left: 125px;
  padding-right: 125px;
}



/*FOOTER*/

footer {
  background-color: #141313;   /*#141313  #dbdada  */
  color: #dbdada;
  padding-top: 0;
  font-family: Arial, sans-serif;
  border-radius: 8px;
  border-top: 4px solid #1f1d1d; /* o el color que uses como secundario */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.9);
}

footer section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding-left: 20px;
  
}

footer section > div {
  flex: 1;
  min-width: 200px;
  
}

footer h3 {
  margin-bottom: 20px;
  font-family: lucida handwriting;
  font-size: 23px;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: cursive;
  font-style: italic;
}

footer li {
  margin-bottom: 5px;
}

.imagenesfooter {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.stickers-footer{
  height: 175px;
  width: 27.5%;
}
.footer-logo{
  display: flex;
  justify-content: center; /* Centra horizontalmente */
  align-items: center;  /*para que sirve este*/
}

footer h5 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 13px;
}

.link-footer {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  font-size: 19px;
}

.link-footer:hover {
  color: #ce24a4; /* Opcional, si querés algún efecto al pasar el mouse */
  transform: scale(1.05);         /* agranda un poco el elemento */
  transition: all 0.3s ease;

}

.link-footer:hover .imagenesfooter {
  transform: rotate(5deg) scale(1.2);
}



  

/*PAGINA NOTICIAS*/




.BIENVENIDOS h1{
  font-size: 5em;
font-family: 'Brush Script MT', cursive;
letter-spacing: 2px;
text-align: center;
}

.BIENVENIDOS p{
font-family: cursive;
font-style: italic;
letter-spacing: normal;
text-align: center;
}


  .contenedor-noticias {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Espacio entre artículos */
    justify-content: space-between;
  }

  .noticias_articulos {
    width: 30%; /* O el ancho que desees     */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
    padding: 10px;
    background-color: #e4e1e1;
    border-radius: 8px;
    text-align: center;
  }



  .noticias_articulos img {
    width: 100%;
    height: 200px;
    border-radius: 4px;
  }

  @media (max-width: 768px) {
    .noticias_articulos {
      width: 100%;
    }
  }

  .seccionnoticias{
    padding:50px
      }  /*porque se pone el top pero no el bottom*/

  .NOTICIAS {
    text-align: center;
    font-family: sans-serif;
    font-size: 40px;
  }

.tituloactualidad{
  text-align: left;
    font-family: lucida handwriting;

}
  .titulo2026{
  text-align: end;
    font-family: lucida handwriting;

}
.titulocalendario{
  text-align: left;
  text-indent: 1.1cm;
  font-family: sans-serif;
}

.link-noticias{
  text-decoration: none;
  color: inherit;
  align-items: center;
  font-family: sans-serif;
  font-weight: 700;
}


.noticias_articulos:hover{
  transform: scale(1.05);
  transition: all 0.5s ease;
  color: #00d2be;
}

#tablacalendario {
  width: 70%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-left: 40px;
  margin-bottom: 20px;
  font-family: sans-serif;
  
}

#tablacalendario th, td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  font-family: cursive;
}

#tablacalendario th {
  background-color: #10151b;
  color: white;
}

#tablacalendario tr:nth-child(even) {
  background-color: #f2f2f2;
}
 

/*
#tablacalendario {
  width: 70%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-left: 40px;
  margin-bottom: 20px;
  font-family: sans-serif;
  
}

#tablacalendario th, td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  font-family: cursive;
}

#tablacalendario th {
  background-color: #10151b;
  color: white;
}

#tablacalendario tr:nth-child(even) {
  background-color: #f2f2f2;
}
*/


/*PAGINA HISTORIA*/


.articuloshistoria h3{
  text-align: center;
  font-size: 30px;
  font-family: lucida handwriting;
}

.articuloshistoria p{
  line-height: 1.7;
  font-size: large;
  font-family:cursive;
  font-style:italic;
}

/*
.contenedor-multimedia {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap; /* para que se acomode en pantallas pequeñas */ /*
  margin-top: 30px;
}

/*
.contenedor-multimedia iframe,
.contenedor-multimedia img {
  max-width: 100%;
  width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
*/
/* .imagen-historia {
  object-fit: cover;
  height: 315px; /* igual al alto del iframe para que estén parejos       max-width: 19%;*/
 /* max-width: 19%; 
}
*/

.contenedor-imagen {
  display: inline-block;
  text-align: center;
  max-width: 19%;
  margin: 0 0.5%;
}

.imagen-historia { 
  object-fit: cover;
  height: 315px;
  width: 100%;
}

.texto-imagen {
  font-size: 14px;
  font-family: lucida handwriting;
  color: #333;
}

.historiaseparador
{
  height: 100px;
  width: 100%;
  padding: 40px;
  border-radius: 70px;
}

h4  {text-indent: 1.2cm; font-family: sans-serif;}

/*PAGINA PILOTOS*/
/*es necesario el .pilotos .infodelpiloto  que pasa si no pongo .pilotos*/

.pilotos {
  display: flex;
  gap: 20px;
  background-color: white;
  margin: 20px auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 900px;
  align-items: flex-start;
}

.pilotos:hover{
  transform: scale(1.05);
  transition: all 1.5s ease;
  
}

.pilotos .imagendelpiloto img {
  width: 250px;                 /* 200px y auto         320  y 350*/
  height: 275px;
  border-radius: 8px;
}

.pilotos .infodelpiloto {
  flex: 1;
}

.pilotos .infodelpiloto h2 {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
  font-size: 30px;  /* 24*/
  font-family: 'Brush Script MT', cursive;
  letter-spacing: 2px;
  color: #222;
  
}

.pilotos .infodelpiloto p {
  margin: 0;
  line-height: 1.6;
  color: #444444;
  font-family: cursive;
  font-style: italic;
}

.bandera {
  width: 60px;   /*24 de width y 16 height      50  24*/
  height: 29px;
  margin-left: 15px;
  vertical-align: top;
  border-radius: 80px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}





/* PAGINA MERCHANDASING*/


/*.merch{
    max-height: 200px;
    width: 25%;
} */



.contenedor-escuderias {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Espacio entre artículos */
  justify-content: space-between;
}



.escuderia {
  width: 30%; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6); 
  padding: 10px; 
  background-color: #080101;  
  border-radius: 100px; 
  
  text-align: center;
}

.escuderia:hover{
  transform: scale(1.1);
  transition: all 0.5s ease;
}


.escuderia img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .escuderia {
    width: 100%;
  }
}


.escuderia.mclaren {
  background-color: #eee4db; /* ff8700 Naranja McLaren */
}


.escuderia.mercedes {
  background-color: #00d2be; /* Turquesa Mercedes */
}

.escuderia.redbull {
  background-color: #5f73e4; /* Azul Red Bull */
}

.escuderia.ferrari {
  background-color: #dd1b1b; /* Rojo Ferrari */
}

.escuderia.williams {
  background-color: #458fcc; /* */
}
.escuderia.haas {
  background-color: #e0d2d2; /* */
}
.escuderia.aston.martin {
  background-color: #036b2e; /* */
}
.escuderia.racingbulls {
  background-color: #0067dc; /* */
}
.escuderia.alpine {
  background-color: #dc00ca; /* */
}
.escuderia.sauber {
  background-color: #24ce32; /* */
}

/* PREGUNTAS
porque .escuderia afecta si no esta en mi html?
las clases se llaman .escuderia maclaren y en css se citan .escuderia.mclaren
donde esta el color de fondo de .escuderia? si tocas un poco alguna escuderia aparece elen en fondo de esa
*/




  /*PAGINA CONTACTO*/
  .formulario-contacto {
    font-family: sans-serif;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px 30px 0px 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  .formulario-contacto h1 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .form-grupo {
    margin-bottom: 15px;
  }
  
  .form-grupo label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .form-grupo input,
  .form-grupo textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #e60000;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #b30000;
  }

  .formulario-contacto img {
    height: 250px;
    display: block;
    margin: 0px auto 0px auto; /* top right bottom left */
  }
  